<!--{if $login.group.power.add_marry == "1"}-->
<div class="bd edit">
  <h3>
    发布征婚启事
	<!--{if $login.group.power.fee_add_marry > 0}-->
	<em><font color="red">（发布一条征婚启事需要 <!--{$login.group.power.fee_add_marry}--> <!--{$config.moneyname}-->）</font></em>
	<!--{/if}-->
  </h3>
  <dl>
    <dt>标题：</dt>
    <dd>
      <input type="text" name="title" id="title" f="checkinput" />
      <p id="title_pt" f="changept" data-id="title">请输入标题</p>
    </dd>
    <div class="clear"></div>
  </dl>
  <dl style="display:none;">
    <dt>类型：</dt>
    <dd>
	  <input type="hidden" name="catid" id="catid" value="" />
      <div class="spanselect">
	    <!--{assign var="varlist" value=vo_list("mod={volistvar} where={marrycat}")}-->
		<!--{foreach $varlist as $val}-->
	    <span f="select_radio_s" data-tab="catid" data-val="<!--{$val.value}-->"><!--{$val.text}--></span>
		<!--{/foreach}-->
	  </div>
    </dd>
    <div class="clear"></div>
  </dl>
  <dl>
    <dt>有效时间：</dt>
    <dd>
	  <input type="hidden" name="endtimes" id="endtimes" value="30" />
      <div class="spanselect">
	    <span f="select_radio_s" data-tab="endtimes" data-val="7">7天</span>
		<span f="select_radio_s" data-tab="endtimes" data-val="15">15天</span>
		<span class="current" f="select_radio_s" data-tab="endtimes" data-val="30">1个月</span>
		<span f="select_radio_s" data-tab="endtimes" data-val="90">3个月</span>
		<span f="select_radio_s" data-tab="endtimes" data-val="180">半年</span>
	  </div>
    </dd>
    <div class="clear"></div>
  </dl>
  <dl>
    <dt>上传照片：</dt>
    <dd>
      <input type="hidden" name="file_num" id="file_num" value="1" />
      <ul id="addto_file_box">
        <li id="upload_file_li"> <span></span>
          <input type="file" id="file_img_input" name="file_img_input" />
        </li>
      </ul>
      <div class="clear"></div>
    </dd>
    <div class="clear"></div>
  </dl>
  <h3>征婚要求</h3>

  <dl class="float">
    <dt>地区：</dt>
    <dd>
      <div class="interval">
        <div class="text">
		  <span f="select_range">请选择<em></em></span>
		</div>
        <div class="con" style="width:180px;display:none;">
          <h4>请选择地区</h4>
          <span><!--{area type='select' name='ta_area' depth='1' child='1' text='请选择'}--></span>
		  <span id="json_ta_area2">
            <select name="ta_area2" id="ta_area2">
              <option value="">请选择</option>
            </select>
          </span>
          <h5><b f="confirm_range" data-1="ta_area1" data-2="ta_area2" data-unit="">确定</b></h5>
        </div>
      </div>
    </dd>
    <div class="clear"></div>
  </dl>

  <dl class="float" style="display:none;">
    <dt>性别：</dt>
    <dd>
	  <!--{if $login.info.gender == '2'}-->
	  <input type="hidden" name="ta_gender" id="ta_gender" value="1" />
	  <!--{else}-->
	  <input type="hidden" name="ta_gender" id="ta_gender" value="2" />
	  <!--{/if}-->
      <div class="spanselect">
	    <span f="select_radio_s" data-tab="ta_gender" data-val="1">男</span> 
		<span f="select_radio_s" data-tab="ta_gender" data-val="2">女</span> 
	  </div>
    </dd>
    <div class="clear"></div>
  </dl>

  <dl class="float">
    <dt>年龄：</dt>
    <dd>
      <div class="interval">
        <div class="text">
		  <span f="select_range">请选择<em></em></span>
		</div>
        <div class="con" style="width:180px;display:none;">
          <h4>年龄范围</h4>
          <!--{hook mod="age" type="select" name="ta_age1" text="请选择"}--> - 
          <!--{hook mod="age" type="select" name="ta_age2" text="请选择"}--> 岁
          <h5><b f="confirm_range" data-1="ta_age1" data-2="ta_age2" data-unit="岁">确定</b></h5>
        </div>
      </div>
    </dd>
    <div class="clear"></div>
  </dl>

  <dl class="float">
    <dt>身高：</dt>
    <dd>
      <div class="interval">
        <div class="text">
		  <span f="select_range">请选择<em></em></span>
		</div>
        <div class="con" style="width:190px;display:none;">
          <h4>身高范围</h4>
          <!--{hook mod="height" type="select" name="ta_height1" text="请选择"}--> - 
          <!--{hook mod="height" type="select" name="ta_height2" text="请选择"}--> cm
          <h5><b f="confirm_range" data-1="ta_height1" data-2="ta_height2" data-unit="CM">确定</b></h5>
        </div>
      </div>
    </dd>
    <div class="clear"></div>
  </dl>

  <dl class="float">
    <dt>体重：</dt>
    <dd>
      <div class="interval">
        <div class="text">
		  <span f="select_range">请选择<em></em></span>
		</div>
        <div class="con" style="width:190px;display:none;">
          <h4>体重范围</h4>
          <!--{hook mod="weight" type="select" name="ta_weight1" text="请选择"}--> - 
          <!--{hook mod="weight" type="select" name="ta_weight2" text="请选择"}--> kg
          <h5><b f="confirm_range" data-1="ta_weight1" data-2="ta_weight2" data-unit="KG">确定</b></h5>
        </div>
      </div>
    </dd>
    <div class="clear"></div>
  </dl>
  <div class="clear"></div>

  <dl>
    <dt>婚况：</dt>
    <dd>
	  <input type="hidden" name="ta_marry" id="ta_marry" value="" />
      <div class="spanselect">
	    <!--{assign var="varlist" value=vo_list("mod={volistvar} where={marry}")}-->
		<!--{foreach $varlist as $val}-->
		<span f="select_radio_s" data-tab="ta_marry" data-val="<!--{$val.value}-->"><!--{$val.text}--></span> 
		<!--{/foreach}-->
	  </div>
	</dd>
    <div class="clear"></div>
  </dl>

  <div class="clear"></div>
  <dl>
    <dt>其它要求：</dt>
    <dd>
      <textarea name="content" id="content" style="width:90%;height:80px;"></textarea>
    </dd>
    <div class="clear"></div>
  </dl>
  <dl>
    <dt></dt>
    <dd> 
      <!--{if $login.group.power.fee_add_marry > 0}-->
      <label f="but_save_addmarry">支付<!--{$login.group.power.fee_add_marry}--><!--{$config.moneyname}-->发布</label>
      <!--{else}-->
      <label f="but_save_addmarry">发布</label>
      <!--{/if}--> 
    </dd>
  </dl>
  <div class="clear"></div>
</div>
<!--//bd End--> 
<!--{else}-->
<div class="bd nopowers" style="padding:0px;"> 
  <div class="top">
    <p class="p_1">
      <span><i></i></span>
    </p>
  </div>
  <div class="content">
    <p class="p_1">您没有权限发布征婚信息哦！~</p>
    <p class="btn">
      <span class="span_2"><a href="<!--{$urlpath}-->index.php?m=user&c=vip">升级会员解锁</a></span>
    </p>
  </div>
</div>
<!--{/if}-->
